package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 运行记录对象 run_records
 * 
 * @author yaozh
 * @date 2024-02-20
 */
public class RunRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自动递增 */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date date;

    @Excel(name = "项目名称")
    private String projectName;

    /** 设备类型id */
    @Excel(name = "设备类型id")
    private Long drTypeId;
    @Excel(name = "设备类型名称")
    private String drTypeName;

    /** 设备id */
    @Excel(name = "设备id")
    private Long drId;

    @Excel(name = "设备名称")
    private String drName;

    /** 详情 */
    @Excel(name = "详情")
    private String details;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operationPerson;

    /** 操作结果 */
    @Excel(name = "操作结果")
    private String operationResult;

    /** 是否上报云端 */
    @Excel(name = "是否上报云端")
    private Integer reported;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }
    public void setDrTypeId(Long drTypeId) 
    {
        this.drTypeId = drTypeId;
    }

    public Long getDrTypeId() 
    {
        return drTypeId;
    }

    public String getDrTypeName() {
        return drTypeName;
    }

    public void setDrTypeName(String drTypeName) {
        this.drTypeName = drTypeName;
    }
    public void setDrId(Long drId) 
    {
        this.drId = drId;
    }

    public Long getDrId() 
    {
        return drId;
    }

    public String getDrName() {
        return drName;
    }

    public void setDrName(String drName) {
        this.drName = drName;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setOperationPerson(String operationPerson) 
    {
        this.operationPerson = operationPerson;
    }

    public String getOperationPerson() 
    {
        return operationPerson;
    }
    public void setOperationResult(String operationResult) 
    {
        this.operationResult = operationResult;
    }

    public String getOperationResult() 
    {
        return operationResult;
    }
    public void setReported(Integer reported) 
    {
        this.reported = reported;
    }

    public Integer getReported() 
    {
        return reported;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("drTypeId", getDrTypeId())
            .append("drId", getDrId())
            .append("details", getDetails())
            .append("operationPerson", getOperationPerson())
            .append("operationResult", getOperationResult())
            .append("reported", getReported())
            .toString();
    }
}
